package secondStage.part2.多态.one;

/**
 * @ClassName: [Pig]
 * @Description:
 * @Author: [黄劲松]
 * @CreateDate: [2021-03-14]
 * @Version: [v1.0]
 */
public class Pig extends Animal {
    @Override
    public void eat() {
        System.out.println("猪要睡觉");
    }
}
